builtin: use GCancellable and GError everywhere
authorLuca BRUNO <luca.bruno@coreos.com>
Fri, 21 Jan 2022 12:26:32 +0000 (12:26 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Fri, 21 Jan 2022 12:26:32 +0000 (12:26 +0000)
commit3f491a60c36168995222ab9c849673f06f38b7de
tree285a6ec835fba904a9ec4428d05d64ae37116035
parentb9f6632b700d68cfb5ec0c08b09e648342f3fe03
builtin: use GCancellable and GError everywhere

This reworks `ostree ls` top-level logic so that cancellation
tokens and error details are plumbed through all codepaths.
It also gets rid of all previous goto jumps.
src/ostree/ot-builtin-ls.c